#include<stdio.h>
#include<string.h>

int main()
{
	FILE* f = fopen("bite.txt", "w+");
	const char* st = "linux so easy!";
	fwrite(st, strlen(st), 1, f);

	fseek(f, 0, SEEK_SET);

	char re[20];
	fread(re, strlen(st), 1, f);
	re[strlen(st)] = '\0';
	printf("%s\n", re);

	fclose(f);

	return 0;
}

